package com.usian.comment.feign;

import com.usian.model.article.pojos.ApArticle;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "article")
public interface ApArticleFeign {

    @GetMapping("/api/v1/article/findArticleById/{id}")/*根据id查询app端文章*/
    public ApArticle findArticleById(@PathVariable Long id);

}
